"""
通用id
"""
RESOURCE_ID = '//*[@resource-id="com.xiaoma.carpark:id/{}"]'

# 猜歌名
RESOURCE_ID_SONG = '//*[@resource-id="com.xiaoma.songname:id/{}"]'

# 成语接龙
RESOURCE_ID_Idioms = '//*[@resource-id="com.xiaoma.idiomsolitaire:id/{}"]'

# 猜方言
RESOURCE_ID_Dialect = '//*[@resource-id="com.xiaoma.dialect:id/{}"]'

# 猜动物
RESOURCE_ID_Animal = '//*[@resource-id="com.xiaoma.guessanimal:id/{}"]'

# 游戏封面
game_cover_img = '//*[@resource-id="com.xiaoma.carpark:id/rv_main"]/android.widget.LinearLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.xiaoma.carpark:id/iv_cover"]'

# 游戏人数
game_number_people_text = '//*[@resource-id="com.xiaoma.carpark:id/rv_main"]/android.widget.LinearLayout[{}]/android.widget.RelativeLayout/*[@resource-id="com.xiaoma.carpark:id/tv_count"]'

# 游戏名称
game_name_text = '//*[@resource-id="com.xiaoma.carpark:id/rv_main"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.carpark:id/tv_name"]'

# 用户头像
song_user_image_icon = '//*[@resource-id="com.xiaoma.songname:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.songname:id/iv_user_head"]'

# 排名
song_user_ranking_text = '//*[@resource-id="com.xiaoma.songname:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.songname:id/tv_rank_num"]'

# 账户名称
song_user_name_text = '//*[@resource-id="com.xiaoma.songname:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.songname:id/tv_user_name"]'

# 用户积分
song_user_integral_icon = '//*[@resource-id="com.xiaoma.songname:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.songname:id/tv_point"]'

# 用户头像
idioms_user_image_icon = '//*[@resource-id="com.xiaoma.idiomsolitaire:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.idiomsolitaire:id/iv_user_head"]'

# 排名
idioms_user_ranking_text = '//*[@resource-id="com.xiaoma.idiomsolitaire:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.idiomsolitaire:id/tv_rank_num"]'

# 账户名称
idioms_user_name_text = '//*[@resource-id="com.xiaoma.idiomsolitaire:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.idiomsolitaire:id/tv_user_name"]'

# 用户积分
idioms_user_integral_icon = '//*[@resource-id="com.xiaoma.idiomsolitaire:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.idiomsolitaire:id/tv_point"]'

# 用户头像
dialect_user_image_icon = '//*[@resource-id="com.xiaoma.dialect:id/sort_item_view"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.dialect:id/iv_user_head"]'

# 排名
dialect_user_ranking_text = '//*[@resource-id="com.xiaoma.dialect:id/sort_item_view"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.dialect:id/tv_rank_num"]'

# 账户名称
dialect_user_name_text = '//*[@resource-id="com.xiaoma.dialect:id/sort_item_view"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.dialect:id/tv_user_name"]'

# 用户积分
dialect_user_integral_icon = '//*[@resource-id="com.xiaoma.dialect:id/sort_item_view"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.dialect:id/tv_point"]'

# 用户头像
animal_user_image_icon = '//*[@resource-id="com.xiaoma.guessanimal:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.guessanimal:id/iv_user_head"]'

# 排名
animal_user_ranking_text = '//*[@resource-id="com.xiaoma.guessanimal:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.guessanimal:id/tv_rank_num"]'

# 账户名称
animal_user_name_text = '//*[@resource-id="com.xiaoma.guessanimal:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.guessanimal:id/tv_user_name"]'

# 用户积分
animal_user_integral_icon = '//*[@resource-id="com.xiaoma.guessanimal:id/sort_rv"]/android.widget.LinearLayout[{}]/*[@resource-id="com.xiaoma.guessanimal:id/tv_point"]'

# 成语接龙游戏结束图片
idioms_game_stop_icon = '//*[@resource-id="com.xiaoma.idiomsolitaire:id/full_content_layout"]/android.view.ViewGroup/android.widget.ImageView[{}]'

# 猜动物答案
animal_answer = '//*[@resource-id="com.xiaoma.guessanimal:id/tv_selection"]/android.widget.FrameLayout[{}]/android.widget.TextView'
